import { restProxy } from '@/api/index';
import { IArticleVo } from '@/api/dto/articles';

export function queryArticles (): Promise<IArticleVo[]> {
  return restProxy({
    url: 'https://api.jianmu.dev/articles.json',
    method: 'get',
    auth: false,
  });
}
